package com.koron.css2.meterService.mapper;

import com.koron.css2.meterService.bean.MsInfoPlanBean;
import com.koron.css2.meterService.bean.query.MsInfoPlanQueryBean;
import com.koron.css2.meterService.dto.MsInfoPlanDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * @author bin
 *
 */
public interface MsInfoPlanMapper {
	
	List<MsInfoPlanDto> selectMsInfoPlanList(MsInfoPlanQueryBean query);
	
	MsInfoPlanDto selectMsInfoPlan(String id);
	
	int addMsInfoPlan(MsInfoPlanBean msInfoPlan);
	
	int updateMsInfoPlan(MsInfoPlanBean msInfoPlan);
	
	int deleteById(String id);
	
	int updateCheckAmount(@Param("id") String id, @Param("amount") int amount);
	
}
